package service.impl;

import dao.UserDao;
import dao.impl.UserDaoimpl;
import pojo.User;
import service.Userservice;

import java.util.List;

public class UserServiceimpl implements Userservice {
    UserDao userDao=new UserDaoimpl();
    public int addUser(User user){
        return userDao.addUser(user);
    }
    public List<User> findAll(){
        //TODO
        return userDao.findAll();
    }
}
